﻿<phone:PhoneApplicationPage 
    x:Name="SettingsPage"   
    x:Class="WP7iPhone.Apps.Settings"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:local="clr-namespace:WP7iPhone"  
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Portrait" Orientation="Portrait"
    mc:Ignorable="d" d:DesignHeight="768" d:DesignWidth="480"
    shell:SystemTray.IsVisible="True">
    <phone:PhoneApplicationPage.Resources>
    </phone:PhoneApplicationPage.Resources>

    <!--LayoutRoot contains the root grid where all other page content is placed-->
    <Grid x:Name="LayoutRoot" Background="DarkGray">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>

        <!--TitlePanel contains the name of the application and page title-->
        <TextBlock Grid.Row="0" Text="Settings" Style="{StaticResource PhoneTextTitle1Style}" HorizontalAlignment="Center" />

        <!--ContentPanel - place additional content here-->
        <ScrollViewer x:Name="ContentGrid" Grid.Row="1">
            <StackPanel Background="LightSlateGray" >
                <StackPanel Margin="10,15">
                    <Button Content="Airplane Mode" Style="{StaticResource iButtonTop}" HorizontalContentAlignment="Left"></Button>
                    <Button Content="Wi-Fi" Style="{StaticResource iButton}"></Button>
                    <Button Content="Notifications" Style="{StaticResource iButtonBottom}"></Button>
                </StackPanel>
                <StackPanel Margin="10,15">
                    <Button Content="Sounds" Style="{StaticResource iButtonTop}" ></Button>
                    <Button Content="Brightness" Style="{StaticResource iButton}"></Button>
                    <Button Content="Wallpaper" Style="{StaticResource iButtonBottom}"></Button>
                </StackPanel>
                <StackPanel Margin="10,15">
                    <HyperlinkButton 
                        Content="General" 
                        Style="{StaticResource iButtonTop}" 
                        NavigateUri="/Apps/Settings/General.xaml"
                        TargetName="SettingsPage"
                        />
                    <!--<Button Content="General" Style="{StaticResource iButtonTop}" Click="Button_Click" />-->
                    <Button Content="Mail, Contacts, Calendars" Style="{StaticResource iButton}"></Button>
                    <Button Content="Phone" Style="{StaticResource iButton}"></Button>
                    <Button Content="Safari" Style="{StaticResource iButton}"></Button>
                    <Button Content="Messages" Style="{StaticResource iButton}"></Button>
                    <Button Content="iPod" Style="{StaticResource iButton}"></Button>
                    <Button Content="Photos" Style="{StaticResource iButton}"></Button>
                    <Button Content="Store" Style="{StaticResource iButtonBottom}"></Button>
                </StackPanel>
                <StackPanel Margin="10,15">
                    <Button Content="Bloomberg" Style="{StaticResource iButtonTop}" ></Button>
                    <Button Content="Crosswords" Style="{StaticResource iButton}"></Button>
                    <Button Content="Facebook" Style="{StaticResource iButton}"></Button>
                    <Button Content="Hulu Plus" Style="{StaticResource iButton}"></Button>
                    <Button Content="Netflix" Style="{StaticResource iButton}"></Button>
                    <Button Content="Nike + iPod" Style="{StaticResource iButton}"></Button>
                    <Button Content="NYTimes" Style="{StaticResource iButton}"></Button>
                    <Button Content="Siri" Style="{StaticResource iButton}"></Button>
                    <Button Content="SitOrSquat" Style="{StaticResource iButton}"></Button>
                    <Button Content="TripIt" Style="{StaticResource iButton}"></Button>
                    <Button Content="OneBusAway" Style="{StaticResource iButtonBottom}"></Button>
                </StackPanel>
            </StackPanel>
        </ScrollViewer>
    </Grid>

</phone:PhoneApplicationPage>
